package com.yuwei.module_property.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.yuwei.http.entity.TenantEntityItem
import com.yuwei.module_property.R

class TenantAdapter: BaseQuickAdapter<TenantEntityItem,BaseViewHolder>(R.layout.tenant_item) {
    override fun convert(holder: BaseViewHolder, item: TenantEntityItem) {
        holder.setText(R.id.tenant_item_name,item.enterpriseName)
        holder.setText(R.id.tenant_item_area,"${item.regionName}${item.enterpriseId}栋${item.regionId}室")
    }
}